package com.jt.www.model.vo.endorse;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * @Author: cjw
 * @Description: 扩展对象
 * @Date: 17:18 2018/6/6
 */
@XmlRootElement(name = "Extend")
@XmlAccessorType(XmlAccessType.FIELD)
public class ContextExtend implements Serializable {

    /**
     * 扩展key
     */
    @XmlElement(name = "Key")
    private String key = "";

    /**
     * 扩展value
     */
    @XmlElement(name = "Value")
    private String value = "";

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return "ContextExtend{" +
                "key='" + key + '\'' +
                ", value='" + value + '\'' +
                '}';
    }
}
